﻿<UserControl x:Class="Samba.Modules.SettingsModule.NumeratorView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" d:DesignHeight="300"
     d:DesignWidth="300">
    <Grid>
        <StackPanel>
            <Label>
                <LocText ResourceIdentifierKey="NumeratorName" Suffix=":" />
            </Label>
            <TextBox HorizontalAlignment="Left" Width="250" Text="{Binding Name}" />
            <Label>
                <LocText ResourceIdentifierKey="NumeratorFormat" Suffix=":"/>
            </Label>
            <TextBox HorizontalAlignment="Left" Width="100" Text="{Binding NumberFormat}" />
            <Button HorizontalAlignment="Left" Margin="0,10" MinWidth="70" Content="{Binding SaveCommand.Caption}"
                 Command="{Binding SaveCommand}" />
            <Label Content="{Binding Error}" Foreground="Red" />
        </StackPanel>
    </Grid>
</UserControl>